package com.woniuxy.caradmin.entity.pojo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

@Data
@AllArgsConstructor
@NoArgsConstructor
@ApiModel("权限")
public class Permission implements Serializable {
    @ApiModelProperty("权限id[自增]")
    private Integer id;
    @ApiModelProperty("权限级别")
    private Integer pid;
    @ApiModelProperty("权限类型")
    private String type;
    @ApiModelProperty("权限级别[如有：删除或增加权限]")
    private String percode;
    @ApiModelProperty("权限名")
    private String name;
    @ApiModelProperty("权限连接")
    private String href;
    @ApiModelProperty("权限图标")
    private String icon;
    @ApiModelProperty("权限是否开户[1.开；0关]")
    private Integer open;


}
